package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收款登记对象 cst_collection_registration
 * 
 * @author zjw
 * @date 2023-01-04
 */
public class CstCollectionRegistration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收款ID */
    private Long collectionId;

    /** 收款日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收款日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date collectionDate;

    /** 收款方式 */
    @Excel(name = "收款方式")
    private String collectionMethod;

    /** 概要 */
    @Excel(name = "概要")
    private String collectionSummary;

    /** 收款金额 */
    @Excel(name = "收款金额")
    private Long collectionAmount;

    /** 是否开票 */
    @Excel(name = "是否开票")
    private String isInvoice;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long projectId;

    public void setCollectionId(Long collectionId) 
    {
        this.collectionId = collectionId;
    }

    public Long getCollectionId() 
    {
        return collectionId;
    }
    public void setCollectionDate(Date collectionDate) 
    {
        this.collectionDate = collectionDate;
    }

    public Date getCollectionDate() 
    {
        return collectionDate;
    }
    public void setCollectionMethod(String collectionMethod) 
    {
        this.collectionMethod = collectionMethod;
    }

    public String getCollectionMethod() 
    {
        return collectionMethod;
    }
    public void setCollectionSummary(String collectionSummary) 
    {
        this.collectionSummary = collectionSummary;
    }

    public String getCollectionSummary() 
    {
        return collectionSummary;
    }
    public void setCollectionAmount(Long collectionAmount) 
    {
        this.collectionAmount = collectionAmount;
    }

    public Long getCollectionAmount() 
    {
        return collectionAmount;
    }
    public void setIsInvoice(String isInvoice) 
    {
        this.isInvoice = isInvoice;
    }

    public String getIsInvoice() 
    {
        return isInvoice;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("collectionId", getCollectionId())
            .append("collectionDate", getCollectionDate())
            .append("collectionMethod", getCollectionMethod())
            .append("collectionSummary", getCollectionSummary())
            .append("collectionAmount", getCollectionAmount())
            .append("isInvoice", getIsInvoice())
            .append("projectId", getProjectId())
            .toString();
    }
}
